//
//  AppDelegate.m
//  MJDemo
//
//  Created by admin on 2021/7/14.
//

#import "AppDelegate.h"
#import "AppDelegate+Notification.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
    
    //配置UI样式
    [self configAppearanceStyle];
    
    //注册第三方服务
    [self registerService:launchOptions];
    
    //注册远程推送
//    [self registerNotification:application];
    
    //设置主窗口
    [self initMainWindow];
    
    return YES;
}

@end
